<!--<?php
require_once template('header'); 
require_once template('help_left');
print <<<EOT
<!-- 右边开始 -->
<script language="javascript">
//改变订单
function chang_order(uid){
$.getJSON(
"member.php",
{module:"order",action:"chang_order",uid:uid,rand:Math.random()},
function(json){
if(json.err==0){
$('#a'+json.uid).html(json.admin);
$('#s'+json.uid).html(json.status);
}else {
 alert(json.err);
}
});
}
</script>
	<div id="right">
		<div id="location"><p><b>$navigation</b></div>
		<div class="member">
			<div class="title88"><p>$lang[my_order]<span>MY ORDER</span></p></div>
			<table cellpadding="0" cellspacing="0" class="tb">
				<tr>
					<th>$lang[buy_paycode]</th>
					<th>$lang[buy_delivery]</th>
					<th>$lang[buy_paysel]</th>
					<th>$lang[buy_payordate]</th>
					<th>$lang[approval]</th>
					<th>$lang[admin]</th>
				</tr>
<!--
EOT;
foreach ($order_list as $val){
print <<<EOT
-->
				<tr $val[css]>
					<td><a href="member.php?action=edit_order&ps_id=$val[uid]" target="_blank">$val[ordersn]</a></td>
					<td>$val[sh_name]</td>
					<td>$val[pay_name]</td>
					<td>$val[addtime]</td>
					<td class="jg">$val[status]</td>
					<td>$val[admin]</td>
				</tr>
<!--
EOT;
} print <<<EOT
-->
			</table>
			<div class="page1"><span>$lang[my_order]：$total_count</span>$page_list</div>
		</div>
	</div>
	<!-- 右边结束 -->
<!--
EOT;
?>-->